from django.contrib import admin
from remind.models import RemindModel, DoneListModel


# Register your models here.


class RemindAdmin(admin.ModelAdmin):
    list_display_links = ['event', 'owner']
    search_fields = ['event', 'owner__username']
    list_display = ['event', 'owner']


class DoneListAdmin(admin.ModelAdmin):
    list_display = ['remind', 'user', 'done']
    list_display_links = ['remind', 'user']


admin.site.register(RemindModel, RemindAdmin)
admin.site.register(DoneListModel, DoneListAdmin)
